package com.dkm.orproject.dkmoa.dao;

import com.dkm.orproject.dkmoa.domain.OaCarInsurance;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OaCarInsuranceMapper {
    int deleteByPrimaryKey(Long pkCarInsuranceId);

    int insert(OaCarInsurance record);

    int insertSelective(OaCarInsurance record);

    OaCarInsurance selectByPrimaryKey(Long pkCarInsuranceId);

    int updateByPrimaryKeySelective(OaCarInsurance record);

    int updateByPrimaryKey(OaCarInsurance record);

    List<OaCarInsurance> findAll(String carInsuranceName, String startTime, String endTime);

    Long rowCount(String carInsuranceName, String startTime, String endTime);

    int deleteAll(List<Long> list);

    List<OaCarInsurance> selectAll(List<Long> list);
}